package persistence;

public class C3p0Configuration {

	private int minSize;
	private int maxSize;
	private int timeout;
	private int maxStatements;

	/**
	 * @return the minSize
	 */
	public int getMinSize() {
		return minSize;
	}

	/**
	 * @param minSize
	 *            the minSize to set
	 */
	public void setMinSize(int minSize) {
		this.minSize = minSize;
	}

	/**
	 * @return the maxSize
	 */
	public int getMaxSize() {
		return maxSize;
	}

	/**
	 * @param maxSize
	 *            the maxSize to set
	 */
	public void setMaxSize(int maxSize) {
		this.maxSize = maxSize;
	}

	/**
	 * @return the timeout
	 */
	public int getTimeout() {
		return timeout;
	}

	/**
	 * @param timeout
	 *            the timeout to set
	 */
	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	/**
	 * @return the maxStatements
	 */
	public int getMaxStatements() {
		return maxStatements;
	}

	/**
	 * @param maxStatements
	 *            the maxStatements to set
	 */
	public void setMaxStatements(int maxStatements) {
		this.maxStatements = maxStatements;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "C3p0Configuration [maxSize=" + maxSize + ", maxStatements=" + maxStatements + ", minSize=" + minSize + ", timeout=" + timeout + "]";
	}

}
